<?php
$mysql_user     = 'Knowledge';
$mysql_password = 'AJ6xscUKjqpN6LEK';
$site_title		= 'Knowledge Tree';
$site_perfix	= 'kt_';

$level_array = array(
	'view'=>'View',
	'modify'=>'Edit',
	'add'=>'Add',
	'delete'=>'Delete',
	'super'=>'Admin',
);

$rate_array = array(
	'view'=>'ra_view',
	'hear'=>'ra_hear',
	'guess'=>'ra_guess',
	'somehow'=>'ra_somehow',
	'learn'=>'ra_learn',
	'deep'=>'ra_deep',
	'master'=>'ra_master',
	'front'=>'ra_front',
);

$language_array = array(
	0=>'English',
	1=>'中文',
);

$language_display_array = array(
	//menu
	'menu_home'=>array('Home Page','主页'),
	'menu_root'=>array('Root Nodes','根节点'),
	'menu_faq'=>array('F.A.Q.','帮助'),
	'menu_request'=>array('Permission requests (last 7 days)','权限请求列表（近7天）'),
	'menu_recent'=>array('Recent updates (node)','最近更新的树节点'),
	'menu_recent2'=>array('Recent updates (group)','最近更新的组节点'),
	'menu_group'=>array('Root group list','组列表'),
	'menu_knowledge'=>array('Knowledge','知识树'),
	'menu_special'=>array('Special page','特殊页面'),
	'menu_user'=>array('User','用户'),
	'menu_search'=>array('Search','搜索'),
	//other
	'js_lang'=>array('include/lang_en.js','include/lang_zh.js'),
	'home_update'=>array('Updates:','更新历史：'),
	'home_time'=>array('Time','时间'),
	'home_content'=>array('Content','内容'),
	'home_all'=>array('Show all','显示全部'),
	'check_code'=>array('CAPTCHA','验证码'),
	'check_code_refresh'=>array('Reload','看不清楚？换一张'),
	//search
	'search_title'=>array('Search:','搜索：'),
	'search_node'=>array('Node','节点'),
	'search_group'=>array('Group','组'),
	'search_time_start'=>array('Time from','时间从'),
	'search_time_end'=>array('to','到'),
	'search_submit'=>array('Search','搜索'),
	//page
	'page_next'=>array('Next page','下一页'),
	'page_prev'=>array('Previous page','上一页'),
	'page_top'=>array('Top','第一页'),
	//node
	'n_id'=>array('Node id','节点编号'),
	'n_view'=>array('Times viewed','访问人次'),
	'n_create'=>array('Create time','创建时间'),
	'n_edit'=>array('Edit time','修改时间'),
	'n_update'=>array('Last update(children)','子节点更新时间'),
	'n_creator'=>array('Creator','创建者'),
	'n_editor'=>array('Last edit','最后一次编辑'),
	'n_state'=>array('State','节点状态'),
	'n_title'=>array('Title','标题'),
	'n_length'=>array('Length','长度'),
	//add/edit
	'a_nid'=>array('Node id:','节点编号：'),
	'a_parent'=>array('Parent:','父节点编号：'),
	'a_lock'=>array('Permission:','权限限制：'),
	'a_no_lock'=>array('Inherit','继承'),
	'a_gid'=>array('Group id:','组编号：'),
	'a_title'=>array('Title:','标题：'),
	'a_description'=>array('Description(html):','描述（html）：'),
	'add_submit'=>array('Add','添加'),
	'edit_submit'=>array('Save','保存'),
	//group
	'g_title'=>array('Group list(child/parent)','组名（子节点数／父节点数）'),
	'g_action'=>array('Action','操作'),
	'g_add'=>array('Add group','添加组'),
	'g_parent_list'=>array('Parent Groups:','组列表（父节点）：'),
	'g_child_list'=>array('Child Groups:','组列表（子节点）：'),
	'g_node_list'=>array('Child Nodes:','子树节点列表：'),
	'g_edit'=>array('Edit','编辑'),
	'g_save'=>array('Save','保存'),
	'g_link_parent'=>array('Link(Parent):','连接（父节点）：'),
	'g_link_child'=>array('Link(Child):','连接（子节点）：'),
	'g_link'=>array('Link','连接'),
	'g_revision'=>array('Revisions','历史版本'),
	//link
	'link_ng'=>array('Add to group','连接到组'),
	//confirm
	'cf_link_node_to'=>array('Link node-%d(%s) to which group ?<br/>','将节点%d(%s)连接到哪个组?<br/>'),
	'cf_link_group_to'=>array('Link group-%d(%s) to which group ?<br/>','将组%d(%s)连接到哪个组?<br/>'),
	'cf_link_node_to_group'=>array('Confirm to link node-%d(%s) to<br/>group-%d(%s) ?<br/>','确定将节点%d(%s)<br/>连接到组%d(%s)？<br/>'),
	'cf_link_group_to_group'=>array('Confirm to link group-%d(%s) to<br/>group-%d(%s) ?<br/>','确定将组%d(%s)<br/>连接到组%d(%s)？<br/>'),
	'cf_unlink_node_to_group'=>array('Confirm to unlink node-%d(%s) from<br/>group-%d(%s) ?<br/>','确定将节点%d(%s)<br/>从组%d(%s)移出？<br/>'),
	'cf_unlink_group_to_group'=>array('Confirm to unlink group-%d(%s) from<br/>group-%d(%s) ?<br/>','确定将组%d(%s)<br/>从组%d(%s)移出？<br/>'),
	'cf_yes'=>array('Yes','确定'),
	//shownode
	'sn_delete'=>array('Delete the node','删除该节点'),
	'sn_move'=>array('Move the node to (node-id)','移动该节点到（节点编号）'),
	'sn_question'=>array('View questions of this node','查看该节点的验证题目'),
	'sn_add'=>array('Add new node','添加子节点'),
	'sn_export'=>array('Export','导出'),
	'sn_edit'=>array('Edit','编辑'),
	'sn_sidebox_detail'=>array('Show/hide side box','显示/隐藏侧边栏'),
	'sn_rate'=>array('Your rate','你的评级'),
	'sn_rate_detail'=>array('Show/hide other\'s rate','显示/隐藏他人评级'),
	'sn_owner'=>array('Special','特殊操作'),
	'sn_perm'=>array('Permission','权限'),
	'sn_frozen'=>array('<font color=blue title="No one can edit it">Frozen</font>','<font color=blue title="不可编辑">已冻结</font>'),
	'sn_do_freeze'=>array('Freeze the node','冻结该节点'),
	'sn_do_unfreeze'=>array('Unfreeze the node','解冻该节点'),
	'sn_locked'=>array('<font color=red title="Need permission to access">Locked</font>','<font color=red title="需要权限才能查看">上锁</font>'),
	'sn_locked_question'=>array('<font color="#ee8800" title="Need answer question to access">Question</font>','<font color="#ee8800" title="回答题目就能查看">题目</font>'),
	'sn_unlocked'=>array('<font color=red title="You have permission to access">Unlocked</font>','<font color=red title="你有该节点的查看权限">已解锁</font>'),
	'sn_free_view'=>array('<font color="#cc00cc" title="The node can be viewed by everyone">Free to view</font>','<font color="#cc00cc" title="该节点可被任何人查看">任何人可见</font>'),
	'sn_revision'=>array('Revision','历史版本'),
	'sn_not_permitted'=>array('You are not permitted to view the node-%d','你没有查看节点%d的权限'),
	'sn_try_solution'=>array('Try following solutions:','尝试下面的解决方法：'),
	'sn_answer_question'=>array('Answer some <a href="request_permission.php?id=%d&type=question&level=view">questions</a> to get the permission to view the node.','<a href="request_permission.php?id=%d&type=question&level=view">回答问题</a>以获得查看该节点的权限'),
	'sn_view_parent'=>array('Or view the <a href="shownode.php?id=%d">parent node</a> for fun.','或者看看<a href="shownode.php?id=%d">父节点</a>，也许会有你想要的'),
	//request
	'request_all'=>array('All requests','所有请求'),
	'request_accept'=>array('Accepted requests','已接受的请求'),
	'request_deny'=>array('Denied requests','已拒绝的请求'),
	'request_pending'=>array('Pending requests','待处理的请求'),
	'request_self'=>array('My requests','我的请求'),
	'request_user'=>array('User','用户'),
	'request_level'=>array('Level','请求权限'),
	'request_reason'=>array('Reason','理由'),
	'request_submit_time'=>array('Submit Time','提交时间'),
	'request_action'=>array('Action','处理'),
	'request_state'=>array('State','状态'),
	'request_list'=>array('Request list:','请求列表：'),
	'request_empty'=>array('The request list is empty','请求列表为空'),
	//revision
	'rev_id'=>array('Revision ID','版本编号'),
	'rev_editor'=>array('Editor','修改者'),
	'rev_edit_time'=>array('Edit time','编辑时间'),
	'rev_length'=>array('Length','文本长度'),
	'rev_comment'=>array('Comment','备注'),
	'rev_node'=>array('Node','节点'),
	'rev_group'=>array('Group','组'),
	//request_permission
	'rp_question'=>array('Question','问题'),
	'rp_answer'=>array('Answer','你的回答'),
	'rp_submit'=>array('Submit','提交'),
	'rp_node'=>array('Node ID:','节点编号：'),
	'rp_level'=>array('Level:','权限级别：'),
	'rp_reason'=>array('Reason:','申请理由：'),
	//error
	'err_no_user'=>array('No such user.','该用户不存在'),
	'err_no_node'=>array('Node not found.','节点不存在'),
	'err_no_nodeD'=>array('Node %d doesn\'t exist.','节点%d不存在'),
	'err_no_question'=>array('Question not found.','问题不存在'),
	'err_need_login'=>array('Please login first.','请先登录'),
	'err_node_frozen'=>array('The Node has been frozen!','该节点已被冻结'),
	'err_checkcode'=>array('The CAPTCHA was wrong','验证码错误'),
	//export
	'export_data'=>array('Export from:','导出范围：'),
	'export_access'=>array('Node type:','导出何种节点：'),
	'export_format'=>array('Output format:','输出格式：'),
	'export_format_desc'=>array('(%t:title %d:description %c:creator %e:editor %p:parent_path)',
							'（%t：标题 %d：内容 %c：创建者 %e：最后一次编辑的用户 %p：父节点）'),
	'export_subnode'=>array('Current and direct child nodes','当前节点和直接子节点'),
	'export_subtree'=>array('All nodes in subtree','当前子树中所有节点'),
	'export_created'=>array('Created by myself','我创建的节点'),
	'export_viewed'=>array('Viewed','我访问过的节点'),
	'export_viewable'=>array('Viewable','我可以访问的节点'),
	'export_submit'=>array('Export','导出'),
	//user
	'user_update'=>array('Update your Info','修改用户信息'),
	'user_logout'=>array('Logout','登出'),
	'user_nick'=>array('Nick name','昵称'),
	'user_node'=>array('User node','用户节点'),
	'user_request'=>array('My requests','我的权限申请'),
	'user_rated'=>array('Rated nodes','评级过的节点信息'),
	'user_question'=>array('Node questions','节点题目'),
	'user_q_accept'=>array('Accepted','回答正确次数'),
	'user_total'=>array('Total','总数'),
	'user_id'=>array('User ID:','用户名：'),
	'user_password'=>array('Password:','密码：'),
	'user_password_repeat'=>array('Repeat password:','重复密码：'),
	'user_remember'=>array('Remember me','记住我'),
	'user_login'=>array('Login','登录'),
	'user_register'=>array('Register','注册'),
	'user_message'=>array('Short message','短消息'),
	//time
	'time_last_login'=>array('Last login time','上次登录时间'),
	'time_reg'=>array('Register time','注册时间'),
	//title
	'title_user'=>array('User','用户'),
	'title_search'=>array('Search','搜索结果'),
	'title_export'=>array('Export','导出'),
	'title_request_permission'=>array('Request permission','请求权限'),
	'title_addnode'=>array('Add node','添加节点'),
	'title_editnode'=>array('Edit node','编辑节点'),
	'title_group'=>array('Group','组'),
	'title_home'=>array('Home page','主页'),
	'title_revision'=>array('Revision','历史版本'),
	'title_requestlist'=>array('Request list','权限请求列表'),
	'title_login'=>array('Login','登录'),
	'title_message'=>array('Short message','短消息'),
	'title_register'=>array('Register','注册新用户'),
	//time
	'time_second'=>array(' second','秒'),
	'time_seconds'=>array(' seconds','秒'),
	'time_minute'=>array(' minute','分钟'),
	'time_minutes'=>array(' minutes','分钟'),
	'time_hour'=>array(' hour','小时'),
	'time_hours'=>array(' hours','小时'),
	'time_day'=>array(' day','天'),
	'time_days'=>array(' days','天'),
	'time_ago'=>array(' ago','前'),
	//rate array
	'ra_view'=>array('Visited','已访问'),
	'ra_hear'=>array('Heard somewhere','听说过'),
	'ra_guess'=>array('Thought about it','猜测过其含义'),
	'ra_somehow'=>array('Somehow, know it','某种程度上的了解'),
	'ra_learn'=>array('Learned it','系统的学习过'),
	'ra_deep'=>array('Understanding','深入了解'),
	'ra_master'=>array('Mastered','完全掌握'),
	'ra_front'=>array('Creator/Inventor','创造者/发现者'),
	//theme array
	'theme_default'=>array('Default','默认'),
	'theme_tb_green'=>array('Green(simple)','绿色简约'),
	'theme_tb_blue'=>array('Blue(simple)','蓝色简约'),
	'theme_tb_purple'=>array('Purple(simple)','紫色简约'),
	'theme_bar_top'=>array('Bar','导航条'),
);

?>
